package com.leanyuan.publi.dyno;

import com.leanyuan.publi.domain.House;
import org.apache.ibatis.jdbc.SQL;

public class ParkSpaceProvider {
    public String selectCount() {
        return new SQL() {
            {
                SELECT("parkingspace_state as name,count(*) as value");
                FROM("t_ParkingSpace");
                GROUP_BY("parkingspace_state");
            }
        }.toString();
    }
}
